package main

import "github.com/gin-gonic/gin"

func main() {
	r := gin.Default()
	r.GET("secureJson", func(ctx *gin.Context) {
		names := []string{"hello", "world"}
		ctx.SecureJSON(200, gin.H{
			"names": names,
		})
	})
	r.Run()
}
